#ifndef __MYOPGLVIEWCANVA_H__
#define __MYOPGLVIEWCANVA_H__
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include <wx/glcanvas.h>


class myOpGLViewCanvas : public wxGLCanvas
{
      public :
             myOpGLViewCanvas(wxWindow* parent, wxWindowID id, const wxPoint& pos,
                              const wxSize& size, long style = 0,
                              const wxString& name=_("TestCanvas"), int* attribList = 0,
                              const wxPalette& palette = wxNullPalette) : wxGLCanvas(parent,
                              id, pos, size, style, name, attribList, palette){};
             virtual ~myOpGLViewCanvas(){};
             
             void draw();
             void undraw();
             int angle;
};

#endif
